<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <form action="/updateItem" method="POST">
        <input type="hidden" name="itemId" value="{{.ID}}" />
        <table>
            <tr>
                <td>名称</td>
                <td>价格</td>
                <td>作者</td>
                <td>销量</td>
                <td>库存</td>
            </tr>
            <tr>
                <td><input name="title" type="text" value="{{.Title}}" /></td>
                <td><input name="price" type="text" value="{{.Price}}" /></td>
                <td><input name="author" type="text" value="{{.Author}}" /></td>
                <td><input name="sales" type="text" value="{{.Sales}}" /></td>
                <td><input name="stock" type="text" value="{{.Stock}}" /></td>
                <td><input type="submit" value="提交" /></td>
            </tr>
        </table>
    </form>
</body>

</html>